
//
// 101021 - AH - Created.
//

package org.soekrat.engine.forest;

/**
 * <p>
 *   Interface for objects that visits roots of subtrees.
 * </p>
 * @author Arne Halvorsen (AH)
 */
public interface TreeVisitor 
{
  /**
   * <p>
   *   Invoked when a subtree is visited.
   * </p>
   * @param tree Root of subtree.
   */
  void visit(Tree tree);
  
}
